package com.xiao.springcloud.service;/**
 * @Auther: xiaoxiaoping
 * @Date: 2020/11/09/16:58
 * @Description:
 */

import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: xiaoxiaoping
 * @CreateDate: 2020/11/9$ 16:58$
 * @Version: 1.0
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "--paymentInfo_OK is error";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "--paymentInfo_Timeout is error";
    }
}
